package com.yequan.hbb.view.fragment.ques_page_fragment;


import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.View;

/**
 * Created by DingLong on 2016/10/13.
 */

public class HotFragment extends ListFragment {
    public HotFragment() {
    }
    public static HotFragment newInstance(String title) {
        Bundle args = new Bundle();
        args.putString("title", title);
        HotFragment fragment = new HotFragment();
        fragment.setArguments(args);
        return fragment;
    }


    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        Bundle bundle = getArguments();
        String title = bundle.getString("title");
        setEmptyText(title);
    }
}
